package com.cskaoyan.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author stone
 * @date 2021/11/30 09:30
 */
@NoArgsConstructor
@Data
public class PermissionVo {

    private List<SystemPermissionsBean> systemPermissions;

    @NoArgsConstructor
    @Data
    public static class SystemPermissionsBean {
        private String id;
        private String label;
        private List<ChildrenBean> children;

        @NoArgsConstructor
        @Data
        public static class ChildrenBean {
            private String id;
            private String label;
            private List<Children2Bean> children;


        }
    }
    @NoArgsConstructor
    @Data
    public static class Children2Bean {
        private String id;
        private String label;
        private String api;
    }
}
